package com.cr.admin.business.audit.controller;

import com.cr.admin.business.audit.service.AuditService;
import io.swagger.annotations.Api;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
@Api(tags = "审核模块")
@RequestMapping("/audit")
public class AuditController {
    @Autowired
    private AuditService auditService;
//    @ApiOperation(value = "新增证件审核")
//    @PostMapping("authentication")
//    public JsonResult addAuthenticationAudit(@Validated @RequestBody AuditSaveParam auditSaveParam){
//        auditService.addAuthenticationAudit(auditSaveParam);
//        return JsonResult.success();
//    }
//
//    @ApiOperation(value = "新增驾照审核")
//    @PostMapping("driverlicense")
//    public JsonResult addDriverLicenseAudit(@Validated @RequestBody AuditSaveParam auditSaveParam){
//        auditService.addDriverLicenseAudit(auditSaveParam);
//        return JsonResult.success();
//    }

}
